﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace DevSupport.Hubs
{ 
    public interface IChatClient
    {
        Task ReceiveMessage(string title, string message);
        Task ReceiveMessage(object message);
        /// <summary>
        /// 站内信
        /// </summary>
        /// <param name="title"></param>
        /// <param name="message"></param>
        /// <returns></returns>
        Task WebMessage(string title, string message);
        /// <summary>
        /// 在线人数
        /// </summary>
        /// <param name="OnlineCount"></param>
        /// <returns></returns>
        Task ListenerOnline(int OnlineCount); 
        Task ReceiveCaller(object message);
        Task ReceiveLog(object data);
    }
}
